//
//  AppDefine.h
//  KuWoCan
//
//  Created by hwd on 17/3/21.
//  Copyright © 2017年 hwd. All rights reserved.
//

#ifndef AppDefine_h
#define AppDefine_h

/**
 模块类型
 */
typedef NS_ENUM(NSInteger,HomeModuleType)
{
    HomeModuleTypeSA = 0,//促销活动
    HomeModuleTypeSC, // 促销活动核销
    HomeModuleTypePA, //所有产品陈列申请
    HomeModuleTypePC, //产品陈列核销
    HomeModuleTypeEA,//进场费
    HomeModuleTypeEC, //进场费核销列表
    HomeModuleTypeOA, //其他费用申请
    HomeModuleTypeOC, //其他费用核销
    HomeModuleTypeOrder //
};

typedef NS_ENUM(NSUInteger, ApplyType) {
    ApplyTypeOrderManage,                  //订单管理
    ApplyTypeEntryFeeApply,                //进场费用申请
    ApplyTypePromotionApply,               //促销活动申请
    ApplyTypeProductDisplayFeeApply,       //产品陈列申请
    ApplyTypeOtherFeeApply                 //其他费用申请
};

//#define KwApiURL @"http://192.168.0.250:8080"
//#define KwApiURL @"http://1507k7g973.51mypc.cn"
//#define KwApiURL @"http://lihaohaoli.picp.io"

#define OSSSecretKey      @"pmAInwBTaySznzgdFn2EYqYW1WQTAZ"
#define OSSAccessKey      @"LTAIfYlBAxMOUxn7"
#define OSSendPoint       @"http://oss-cn-shanghai.aliyuncs.com"
#define OSSBucketName     @"kuwo"
//#define OSSObjectKey      @"allImgDir=persistence/allImg/"

#define kUploadImgPath    @"persistence/allImg/"

/**** 登录模块  ****/

#define NWLogin_Path @"/jeesite/interface/appLogin/login"

#define NWChangePassWord_Path @"/jeesite/interface/appLogin/updatePassword"

#define NWGetUserInfo_Path @"/jeesite/interface/appUserinfo/findKwUserinfo"

#define NWChangeUserInfo_Path @"/jeesite/interface/appUserinfo/updateKwUserinfo"

#define NWUpdateAutograph_Path @"/jeesite/interface/appUserinfo/updateAutograph"

#define NWUpdateApp_Path @"/jeesite/interface/appVersion/details"

/****   新闻模块  ****/

#define NWGetNewsList_Path @"/jeesite/interface/appNews/list"

#define NWGetNewsDetail_Path @"/jeesite/interface/appNews/details"

#define NWGetNewsBanner_Path @"/jeesite/interface/appNews/list?isHome=1&delFlag=0"

/****  订单模块  ****/

#define NWOrderCommit_Path @"/jeesite/interface/appOrder/submitOrder"

#define NWOrderUpdate_Path @"/jeesite/interface/appOrder/editOrder"

#define NWOrderQuery_Path @"/jeesite/interface/appOrder/findOrderList"

#define NWOrderDetail_Path @"/jeesite/interface/appOrder/orderForm"

#define NWOrderDelete_Path @"/jeesite/interface/appOrder/deleteOrder"

#define NWOrderPass_Path @"/jeesite/interface/appOrder/passOrder"


/****  用户地址  ****/

#define NWAddressGetAll_Path @"/jeesite/interface/appUserAddress/list"

#define NWAddressAdd_Path @"/jeesite/interface/appUserAddress/add"

#define NWAddressEdit_Path @"/jeesite/interface/appUserAddress/edit"

#define NWAddressDefault_Path @"/jeesite/interface/appUserAddress/isDefault"

#define NWAddressDelete_Path @"/jeesite/interface/appUserAddress/delete"

/****  进存销管理模块  ****/

#define NWGetKWProduct_Path @"/jeesite/interface/appProduct/productList"

#define NWESSGetAll_Path @"/jeesite/interface/appInvoicing/list"

#define NWESSGetESSDetail_Path @"/jeesite/interface/appInvoicing/findKwInvoicingByInvoicingId"

#define NWESSInitInventory_Path @"/jeesite/interface/appInventory/initializeInventory"

#define NWESSGetInventory_Path @"/jeesite/interface/appInventory/findCurrentInventoryByUserId"

#define NWESSCanUpdateInventory_Path @"/jeesite/interface/appInvoicing/isSubmit"

#define NWESSUpdateInventory_Path @"/jeesite/interface/appInventory/updateTheInventory"

/****  要货计划模块  ****/

#define NWEnquiryPlanList_Path @"/jeesite/interface/appCargoPlan/list"

#define NWEnquiryPlanAllAgency_Path @"/jeesite/interface/appCargoPlan/findALLSubordinateDealers"

#define NWEnquiryPlanAddPlan_Path @"/jeesite/interface/appCargoPlan/addCargoPlan"

#define NWEnquiryPlanDetail_Path @"/jeesite/interface/appCargoPlan/cargoPlanDetail"

#define NWEnquiryPlanDelete_Path @"/jeesite/interface/appCargoPlan/deleteKwCargoPlan"

/****  目标计划模块  ****/

#define NWMissionComGetPlan_Path @"/jeesite/interface/appPlan/planSituation"

#define NWMissionComGetAllOrder_Path @"/jeesite/interface/appPlan/findAllByUserId"

/****  我的团队模块  ****/

#define NWMyTeamGetTotalList_Path @"/jeesite/interface/appPlan/findLowerSalesTotalLines"

#define NWMyTeamGetDetailList_Path @"/jeesite/interface/appPlan/findLowerSalesLinesList"

/****  促销申请模块  ****/

#define NWSACommit_Path @"/jeesite/interface/promotionA/submitPromotionA"

#define NWSAUpdate_Path @"/jeesite/interface/promotionA/editPromotionA"

#define NWSAQuery_Path @"/jeesite/interface/promotionA/findPromotionAList"

#define NWSADetail_Path @"/jeesite/interface/promotionA/promotionAForm"

#define NWSADelete_Path @"/jeesite/interface/promotionA/deletePromotionA"

#define NWSAPass_Path @"/jeesite/interface/promotionA/passPromotionA"



/****  促销核销模块  ****/


#define NWSCUpdate_Path @"/jeesite/interface/promotionE/editPromotionE"

#define NWSCQuery_Path @"/jeesite/interface/promotionE/findPromotionEList"

#define NWSCDetail_Path @"/jeesite/interface/promotionE/PromotionEForm"

#define NWSCPass_Path @"/jeesite/interface/promotionE/passPromotionE"



/****  照片管理模块  ****/

#define NWPicManage_CtrAll_Path @"/jeesite/interface/appPhoto/saveAll"

#define NWPicManage_DeleteOne_Path @"/jeesite/interface/appPhoto/deleteByimg"

#define NWPicManage_QueryAll_Path @"/jeesite/interface/appPhoto/findOrderList"

#define NWPicManage_AddOne_Path @"/jeesite/interface/appPhoto/saveOnly"

/****  产品申请模块  ****/
#define NWPACommit_Path @"/jeesite/interface/displayA/submitDisplayA"

#define NWPAUpdate_Path @"/jeesite/interface/displayA/editDisplayA"

#define NWPAQuery_Path @"/jeesite/interface/displayA/findDisplayAList"

#define NWPADetail_Path @"/jeesite/interface/displayA/displayAForm"

#define NWPADelete_Path @"/jeesite/interface/displayA/deleteDisplayA"

#define NWPAPass_Path @"/jeesite/interface/displayA/passDisplayA"


/****  产品核销模块  ****/

#define NWPCUpdate_Path @"/jeesite/interface/DisplayE/editDisplayE"

#define NWPCQuery_Path @"/jeesite/interface/DisplayE/findDisplayEList"

#define NWPCDetail_Path @"/jeesite/interface/DisplayE/displayEForm"

#define NWPCPass_Path @"/jeesite/interface/DisplayE/passDisplayE"

/****  进场费用申请模块  ****/
#define NWEACommit_Path @"/jeesite/interface/appApproachApplication/addApproachApplication"

#define NWEAUpdate_Path @"/jeesite/interface/appApproachApplication/updateApproachApplication"

#define NWEAQuery_Path @"/jeesite/interface/appApproachApplication/approachApplicationList"

#define NWEADetail_Path @"/jeesite/interface/appApproachApplication/approachApplicationDetails"

#define NWEADelete_Path @"/jeesite/interface/appApproachApplication/deleteApproachApplication"

#define NWEAPass_Path @"/jeesite/interface/appApproachApplication/passApproachApplication"


/****  进场费用核销模块  ****/

#define NWECUpdate_Path @"/jeesite/interface/appApproachExamine/updateApproachExamine"

#define NWECQuery_Path @"/jeesite/interface/appApproachExamine/approachExamineList"

#define NWECDetail_Path @"/jeesite/interface/appApproachExamine/approachExamineDetails"

#define NWECPass_Path @"/jeesite/interface/appApproachExamine/passApproachExamine"

/****  其他费用申请模块  ****/
#define NWOACommit_Path @"/jeesite/interface/appOtherApplication/addOtherApplication"

#define NWOAUpdate_Path @"/jeesite/interface/appOtherApplication/updateOtherApplication"

#define NWOAQuery_Path @"/jeesite/interface/appOtherApplication/otherApplicationList"

#define NWOADetail_Path @"/jeesite/interface/appOtherApplication/otherApplicationDetails"

#define NWOADelete_Path @"/jeesite/interface/appOtherApplication/deleteOtherApplication"

#define NWOAPass_Path @"/jeesite/interface/appOtherApplication/passOtherApplication"


/****  其他费用核销模块  ****/

#define NWOCUpdate_Path @"/jeesite/interface/appOtherExamine/updateOtherExamine"

#define NWOCQuery_Path @"/jeesite/interface/appOtherExamine/otherExamineList"

#define NWOCDetail_Path @"/jeesite/interface/appOtherExamine/otherExamineDetails"

#define NWOCPass_Path @"/jeesite/interface/appOtherExamine/passOtherExamine"


//
#define NWGetDengJI_Path @"/jeesite/interface/appUserinfo/findCustomerLevel"
#endif /* AppDefine_h */
